@import './base.css';

#app {
  width: 100%;
  margin: 0;
  padding: 0;
  font-weight: normal;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    /* 移除这些可能导致布局问题的样式 */
    /* display: flex; */
    /* place-items: center; */
  }

  #app {
    /* 移除网格布局，使用全宽布局 */
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    width: 100%;
    padding: 0;
  }
}

/* 基础样式 */
:root {
  --primary-color: #409EFF;
  --success-color: #67C23A;
  --warning-color: #E6A23C;
  --danger-color: #F56C6C;
  --info-color: #909399;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
}

/* 移除所有元素的焦点轮廓 */
*:focus {
  outline: none !important;
}

/* 移除Element Plus组件的焦点样式 */
.el-dropdown:focus-visible,
.el-dropdown-link:focus-visible,
.el-avatar:focus-visible,
.el-button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
